#include "MyList.h"
#include "introducing.h"

int main()
{
	MyList ML{ 1,2,3,4,5 };
	ML.print();

	Solution s;

	ML.pHead = s.reverseList1(ML.pHead);
	ML.print();

	{
		MyList ML2 = ML;
		ML2.print();
		ML2.pHead = s.reverseList2(ML2.pHead);
		ML2.print();

		ML2.addToHead(0);
		ML2.print();
	}


	return 0;
}